namespace UniversalAdmin.Domain.Entities;

// 权限实体类
public class Permission : BaseEntity
{
    public string Name {get;set;} = string.Empty; //权限名称
    public string? Description {get;set;} = string.Empty; //说明
    public int? ParentId {get;set;} //父级权限ID
    public int SortOrder  {get;set;} //排序

    public List<RolePermission> RolePermissions {get;set;} = new List<RolePermission>(); //角色权限关系
    
}